package com.fs.system.student.domain;

import java.time.LocalDateTime;

public class ActCredit {
    private Long actId;
    private String actName;
    private Long creditCount;
    private String status;
    private Boolean isDeleted;
    private Long typeId;
    private String typeName;
    private String createBy;
    private LocalDateTime createTime;
    private String updateBy;
    private LocalDateTime updateTime;

    public Long getActId() {
        return actId;
    }

    public void setActId(Long actId) {
        this.actId = actId;
    }

    /*public String getActName() {
        return actName;
    }

    public void setActName(String actName) {
        this.actName = actName;
    }*/

    public String getActName() {
        return actName != null ? actName.trim() : null;
    }

    public void setActName(String actName) {
        this.actName = actName != null ? actName.trim() : null;
    }

    public Long getCreditCount() {
        return creditCount;
    }

    public void setCreditCount(Long creditCount) {
        this.creditCount = creditCount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Boolean getDeleted() {
        return isDeleted;
    }

    public void setDeleted(Boolean deleted) {
        isDeleted = deleted;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "ActCredit{" +
                "actId=" + actId +
                ", actName='" + actName + '\'' +
                ", creditCount=" + creditCount +
                ", status='" + status + '\'' +
                ", isDeleted=" + isDeleted +
                ", typeId=" + typeId +
                ", typeName='" + typeName + '\'' +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
